
<?php ?>
<html>
    <head> 
        <title>KOMPETENSI</title> 
    </head> 

    <body> 
        <h2>&nbsp; </h2> 
        <h2>Form Pengisian KOMPETENSI</h2> 
        <hr>
        <form id="form_906598" method="post" action="../Control/FormPesertaDidikInsert.php">
            <div class="form_description">
                <h2>Form Pengisian </h2>
                <p>Kompetensi Pendidik dan Tenaga Kependidikan</p>
            </div>
            <table border="1" cellpadding="0" cellspacing="0"> 						

                <tr>
                    <td colspan="15"><center><b>Data Peserta Didik</b></center></td>
                <td colspan="6"><center><b>Data Orang Tua</b></center></td>
                <td colspan="4"><center><b>Data Wali Murid</b></center></td>
                </tr>

                <tr>

                    <td rowspan="2"><center><b>No</b></center></td>
                <td rowspan="2"><center><b>Nama Siswa</b></center></td>
                <td rowspan="2"><center><b>NIS</b></center></td>
                <td rowspan="2"><center><b>NISN</b></center></td>
                <td rowspan="2"><center><b>Tempat Lahir</b></center></td>
                <td rowspan="2"><center><b>Tanggal Lahir</b></center></td>
                <td rowspan="2"><center><b>Jenis Kelamin</b></center></td>
                <td rowspan="2"><center><b>Agama</b></center></td>
                <td rowspan="2"><center><b>Status Dalam Keluarga</b></center></td>
                <td rowspan="2"><center><b>Anak Ke-</b></center></td>
                <td rowspan="2"><center><b>Alamat</b></center></td>
                <td rowspan="2"><center><b>Nomor Telepon Rumah</b></center></td>
                <td rowspan="2"><center><b>Sekolah Asal</b></center></td>
                <td colspan="2"><center><b>Diterima di Sekolah Ini</b></center></td>

                <td colspan="2"><center><b>Nama Orang Tua</b></center></td>
                <td rowspan="2"><center><b>Alamat Orang Tua</b></center></td>
                <td rowspan="2"><center><b>Nomor Telepon Rumah</b></center></td>
                <td colspan="2"><center><b>Pekerjaan Orang Tua</b></center></td>

                <td rowspan="2"><center><b>Nama Wali Murid</b></center></td>
                <td rowspan="2"><center><b>Alamat Orang Tua</b></center></td>
                <td rowspan="2"><center><b>Nomor Telepon Rumah</b></center></td>
                <td rowspan="2"><center><b>Pekerjaan Wali Murid</b></center></td>
                <!--<td colspan="2"><center><b>Upload Foto</b></center></td>-->
                </tr>

                
                <tr>
                    <td>
                <center><b>Di Kelas</b></center>
                </td>
                <td>
                <center><b>Pada Tanggal</b></center>
                </td>
                <td>
                <center><b>Ayah</b></center>
                </td>
                <td>
                <center><b>Ibu</b></center>
                </td>
                <td>
                <center><b>Ayah</b></center>
                </td>
                <td>
                <center><b>Ibu</b></center>
                </td>
                </tr>


                <tr>
                     <?php
                include "../../Koneksi/koneksi.php";
                $nomor = mysql_fetch_array(mysql_query("select max(no) 'max' from pesertadidik where walikelas=1"));
                $a= $nomor['max'];
                ?>
                    
                    <td>
                        
                        <input align="center" name="no" type="text" value="<?php echo $a+1;?>" readonly=""/> 
                        
                    </td>
                    <td>
                        <input name="nama" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="nis" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="nisn" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="tempatLahir" type="text" value=""/> 
                    </td>

                    <td>
                        <input name="tanggalLahir" type="text" value=""/> 
                    </td>
                    <td>
                        <select name=jenisKelamin>
                            <option value="laki-laki">Laki-Laki</option>
                            <option value="perempuan">Perempuan</option>
                        </select>
                    </td>
                    <td>
                        <select name=agama>
                            <option value="islam">Islam</option>
                            <option value="kristen">Kristen</option>
                            <option value="katholik">Katholik</option>
                            <option value="hindu">Hindu</option>
                            <option value="budha">Budha</option>
                            <option value="konghuchu">Kong Hu Chu</option>
                        </select>
                    </td>
                    <td>
                        <select name=status>
                            <option value="kandung">Anak Kandung</option>
                            <option value="tiri">Anak Tiri</option>
                            <option value="angkat">Anak Angkat</option>
                        </select>
                    </td>
                    <td>
                        <input name="anakKe" type="text" value=""/> 
                    </td>


                    <td>
                        <input name="alamatPesertaDidik" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponRumahPD" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="sekolahAsal" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="diterimaDiKelas" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="diterimaTanggal" type="text" value=""/> 
                    </td>


                    <td>
                        <input name="namaAyah" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="namaIbu" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="alamatOrangTua" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponOT" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanAyah" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanIbu" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="namaWali" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="alamatWali" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponRumahWali" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanWali" type="text" value=""/> 
                    </td>
                    
<!--                    <td>
                        <input name="upload" type="text" value=""/> 
                    </td>
                    
                    <td>
                        <input type="submit" name="submit" value="Pilih Foto" />
                    </td>-->
                </tr>

                    
                    
                <tr>
                    <td>
                        
                        <input align="center" name="no2" type="text" value="<?php echo $a+2;?>" readonly=""/> 
                        
                    </td>
                    <td>
                        <input name="nama2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="nis2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="nisn2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="tempatLahir2" type="text" value=""/> 
                    </td>

                    <td>
                        <input name="tanggalLahir2" type="text" value=""/> 
                    </td>
                    <td>
                        <select name=jenisKelamin2>
                            <option value="laki-laki">Laki-Laki</option>
                            <option value="perempuan">Perempuan</option>
                        </select>
                    </td>
                    <td>
                        <select name=agama2>
                            <option value="islam">Islam</option>
                            <option value="kristen">Kristen</option>
                            <option value="katholik">Katholik</option>
                            <option value="hindu">Hindu</option>
                            <option value="budha">Budha</option>
                            <option value="konghuchu">Kong Hu Chu</option>
                        </select>
                    </td>
                    <td>
                        <select name=status2>
                            <option value="kandung">Anak Kandung</option>
                            <option value="tiri">Anak Tiri</option>
                            <option value="angkat">Anak Angkat</option>
                        </select>
                    </td>
                    <td>
                        <input name="anakKe2" type="text" value=""/> 
                    </td>


                    <td>
                        <input name="alamatPesertaDidik2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponRumahPD2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="sekolahAsal2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="diterimaDiKelas2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="diterimaTanggal2" type="text" value=""/> 
                    </td>


                    <td>
                        <input name="namaAyah2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="namaIbu2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="alamatOrangTua2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponOT2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanAyah2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanIbu2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="namaWali2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="alamatWali2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponRumahWali2" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanWali2" type="text" value=""/> 
                    </td>

                </tr>
                
                
                <tr>
                    <td>
                        
                        <input align="center" name="no3" type="text" value="<?php echo $a+3;?>" readonly=""/> 
                        
                    </td>
                    <td>
                        <input name="nama3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="nis3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="nisn3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="tempatLahir3" type="text" value=""/> 
                    </td>

                    <td>
                        <input name="tanggalLahir3" type="text" value=""/> 
                    </td>
                    <td>
                        <select name=jenisKelamin3>
                            <option value="laki-laki">Laki-Laki</option>
                            <option value="perempuan">Perempuan</option>
                        </select>
                    </td>
                    <td>
                        <select name=agama3>
                            <option value="islam">Islam</option>
                            <option value="kristen">Kristen</option>
                            <option value="katholik">Katholik</option>
                            <option value="hindu">Hindu</option>
                            <option value="budha">Budha</option>
                            <option value="konghuchu">Kong Hu Chu</option>
                        </select>
                    </td>
                    <td>
                        <select name=status3>
                            <option value="kandung">Anak Kandung</option>
                            <option value="tiri">Anak Tiri</option>
                            <option value="angkat">Anak Angkat</option>
                        </select>
                    </td>
                    <td>
                        <input name="anakKe3" type="text" value=""/> 
                    </td>


                    <td>
                        <input name="alamatPesertaDidik3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponRumahPD3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="sekolahAsal3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="diterimaDiKelas3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="diterimaTanggal3" type="text" value=""/> 
                    </td>


                    <td>
                        <input name="namaAyah3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="namaIbu3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="alamatOrangTua3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponOT3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanAyah3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanIbu3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="namaWali3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="alamatWali3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="noTeleponRumahWali3" type="text" value=""/> 
                    </td>
                    <td>
                        <input name="pekerjaanWali3" type="text" value=""/> 
                    </td>

                </tr>

                
                <td colspan="2">
                <center>
                <input type="hidden" name="form_id" value="906598" />
                    <input type="submit" name="submit" value="Simpan" />
                
                </center>
                </td>

            </table>
        </form>
        <hr>
    </body>
</html>